package android.slc.appbase.ui.fragment.base;

import android.os.Bundle;
import android.slc.appbase.vm.AppBaseViewModel;
import android.slc.corelifecycle.ui.fragment.FastRxMvvmFragment;
import android.slc.toolbar.ISlcToolBarDelegate;

import androidx.annotation.Nullable;
import androidx.databinding.ViewDataBinding;

public abstract class AppMvvmBaseFragment<V extends ViewDataBinding, VM extends AppBaseViewModel> extends FastRxMvvmFragment<V, VM> {
    @Override
    public void onActivityCreated(@Nullable Bundle savedInstanceState) {
        super.onActivityCreated(savedInstanceState);
        getContentView().setClickable(false);
    }

    @Override
    public void onBindViewBefore() {
        super.onBindViewBefore();
    }

    public void onBindView(@Nullable Bundle savedInstanceState) {
        super.onBindView(savedInstanceState);
    }

    @Override
    public void onBindViewLater() {
        super.onBindViewLater();
    }

    @Override
    protected ISlcToolBarDelegate onInitSlcToolBarDelegate() {
        return null;
    }

}
